package com.brillilab.service.core.system;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.brillilab.domain.po.system.UploadMultipartFile;
import com.brillilab.domain.vo.system.UploadMultipartFileVo;
import com.brillilab.domain.vo.user.UserInfoVo;

import java.util.List;

/**
 * 音频/视频表
 * @author XuZue
 * @time   2019/04/19
 */
public interface IUploadMultipartFileService {

    void insert(UploadMultipartFile multipartFile);

    UploadMultipartFile selectById(Long id);

    boolean deleteById(Long id);

    void deleteUploadMultipartFileAndAliOssFile(Long multipartFileId, UserInfoVo userInfo, boolean ossDelete);

    List<UploadMultipartFileVo> selectList(Long parentId,Long labId,String parentType);
}
